<%# this if/else is a hack, but we'll keep it for now.  Just have to pay attention to store_controller/detail method %>
<% if @message == "Viewing Article Details" %>
		
<div id = "navigation" class = "tabs">
	<ul>
		<li>
		<%= link_to "Home", url_for(:controller => "store", :action => "index"), (@category.name == "All" ? {:class => 'current'} : {} if @category)%>
		</li>
	<% Category.find(:all, :conditions => [ "name != ?", 'All' ]).each do |c| %>
		<li>
			<%= link_to c.name, url_for(:controller => "store", :action => "filter", :params => {:category => c}), (@category == c ? {:class => 'current'} : {} if @category) %>
		</li>	 
	<% end %>
	</ul>
</div>	

<% else %>

<div id = "navigation" class = "tabs">
<ul>
	<li>
	<%= link_to "Home", url_for(:controller => "store", :action => "index"), (@category.name == "All" ? {:class => 'current'} : {} if @category)%>
	</li>
	<% Category.all.each do |c| %>
		<% unless c.name == "All" %>
		<li>
			<%= link_to c.name, url_for(:controller => "store", :action => "filter", :params => {:category => c}), (@category == c ? {:class => 'current'} : {} if @category) %>
		</li>
		<% end %>
	<% end %>
</ul>

</div>	
<% end %>